#ifndef BASEEXCEPTION_H
#define BASEEXCEPTION_H

#include <exception>
#include <string>

class BaseException : public std::exception
{
private:
	int m_Code;
	std::string m_Message;
public:
BaseException(std::string message, int code = -1) throw();
virtual ~BaseException() throw();
virtual const char* what() const throw();
virtual int getCode() const;

};

#endif // BASEEXCEPTION_H
